# Maintainer: Adam Thiede <me@adamthiede.com>
pkgname=shutdown-clear-machine-id
pkgver=1.0.0
pkgrel=0
pkgdesc="Pre-shutdown service to remove /etc/machine-id"
url="https://wiki.alpinelinux.org/wiki/D-Bus"
arch="noarch"
license="GPL-3.0-or-later"
source="
	clear-machine-id.shutdown.initd
	"
install="$pkgname.post-install"

package() {
	install -Dm755 "$srcdir"/clear-machine-id.shutdown.initd "$pkgdir"/etc/init.d/clear-machine-id
}

sha512sums="
5c99ced4ba1215321d8cf094d218b2d408a07c34f7bc7f20cee6886cf42d5551be1b8dad2782019e479d57f2da2c2784325cd852a37d1b9bab7d9ce72b134517  clear-machine-id.shutdown.initd
"
